      <template>
        <el-dialog :title="title" :width="width" :visible.sync="dialogBackupsVisible" :close-on-click-modal="false"  @close="closeDialog">
            <el-form :model="selectTable" :rules="rules" ref="selectTable" label-width="150px">
                <el-form-item label="目的地址：" :required="true">
                    <el-input placeholder="请输入目的地址" size="small" class="search_inp"></el-input>
                </el-form-item>
                <el-form-item label="掩码：" :required="true">
                    <el-input placeholder="请输入掩码" size="small" class="search_inp"></el-input>
                </el-form-item>
                <el-form-item label="下一跳IP地址：" :required="true">
                    <el-input placeholder="请输入下一跳IP地址" size="small" class="search_inp"></el-input>
                </el-form-item>
                <el-form-item label="管理距离：" >
                    <el-input placeholder="请输入管理距离" size="small" class="search_inp"></el-input>
                </el-form-item>
                <el-form-item label="描述符：" >
                    <el-input placeholder="请输入描述符" type="textarea"  :rows="5" size="small" class="search_inp"></el-input>
                </el-form-item>
                 <el-form-item label="标记：" >
                    <el-input placeholder="请输入标记" size="small" class="search_inp"></el-input>
                </el-form-item>
            </el-form>
            <div slot="footer" class="dialog-footer">
                <el-button @click="closeDialog()">上一步</el-button>
                <el-button type="primary" @click="confirmDialog">确 定</el-button>
            </div>
        </el-dialog>
      </template>
      <script>
      export default {
          data() {
              return {
                  dialogBackupsVisible: this.isShow,
                  selectTable: {},
                  rules: {
                      date: {
                          required: true,
                          message: '备份操作执行时间', 
                          trigger: 'blur'
                      }
                  }
              }
          },
          props: ['isShow', 'title', 'width'],
          methods: {
            //设置弹窗可见
            closeDialog() {
                this.$emit('closeDialog')
            },
            confirmDialog() {}
          }
      }
      </script>
      <style lang="less" scoped>
      
      </style>
      